import { combineReducers } from 'redux'

import userReducer from './user'

// 把多个reducer合并成一个reducer,同时把每一个模块中的state合并成一个state 
const reducer = combineReducers({
  user: userReducer,
})

export default reducer